<template>
	<view class="container">
		<view class="item" v-for="item in 6" @click="handleItem">
			<view class="item-left">
				<image src="" mode=""></image>
			</view>
			<view class="item-right">
				<view class="item-right-title">
					高德打车
				</view>
				<view class="item-right-content">
					<view class="item-right-content-left">
						<text>订单:</text>
						<view class="">T+1工作日</view>
					</view>
					<view class="item-right-content-right">
						<text>截止时间:</text>
						<view class="">2023-1-12</view>
					</view>
				</view>
				<view class="item-right-bottom">
					CPA 12元+3%
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		methods: {
			handleItem(){
				uni.navigateTo({
					url: "/pages/components/details/index"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container{
		height: 100vh;
		font-size: 26rpx;
		background-color: #f1f1f1;
		border: 1px solid transparent;
		.item{
			display: flex;
			background-color: #fff;
			margin-top: 30rpx;
			padding: 30rpx 20rpx;
			.item-left{
				image{
					display: block;
					width: 300rpx;
					height: 170rpx;
					border: 1px solid red;
					margin-right: 30rpx;
				}
			}
			.item-right{
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				flex: 1;
				.item-right-title{
					font-size: 30rpx;
					font-weight: 600;
				}
				.item-right-content{
					display: flex;
					justify-content: space-between;
					>view{
						display: flex;
						font-size: 20rpx;
						text{
							color: #626c6e;
						}
					}
				}
				.item-right-bottom{
					border: 1px solid red;
					color: red;
					width: 60%;
					text-align: center;
					border-radius: 8rpx;
					font-size: 22rpx;
				}
			}
		}
	}
</style>